<div id="main" class="main">
  <div class="wrap">
    <ul class="mainContainer">
      <li class="mainItem">
        <h3 class="mainItemTitle"><%= content.title %></h3>
        <div class="articleContent"><%- content.content %></div>
        <ul class="articleNotes">
          <li class="articleAuthor">作者：<span><%= content.author %></span></li>
          <li class="articleCount">阅读：<span><%= content.views %></span></li>
          <li class="articleComment">评论：<span><%= content.comments.length %>&nbsp;</span></li>
        </ul>
        <div class="articleTime">
          <span>
            <%= content.time.getFullYear() + '.' %>
            <% if ((content.time.getMonth() + 1) < 10) { %>
              <%= '0' + content.time.getMonth() + '.' %>
            <% } else { %>
              <%= content.time.getMonth() + '.' %>
            <% } %>
            <%= content.time.getDate() %>
          </span>
        </div>
        <div class="clearfloat"></div>
      </li>
    </ul>
    <div class="commentContainer">
      <h4>评论</h4>
      <textarea name="commentInput" id="commentInput" class="commentInput"></textarea>
      <span class="commentBtn">提交评论</span>
      <ul class="commentArea">
      </ul>
      <p class="noComment">还没有评论，马上评论</p>
    </div>
  </div>
</div>
